package com.selftaught.common.security.annotation;

import java.lang.annotation.*;

/**
 * 自定义 Feign 注解
 * 添加 basePackages 路径
 *
 * @author admin
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@org.springframework.cloud.openfeign.EnableFeignClients
public @interface EnableProjectFeignClients {

    String[] value() default {};

    String[] basePackages() default {"com.selftaught"};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
